@import "../../../../sass/base.scss";

%card {
  height: 316px;
  width: 23.9%;
  margin-right: 1%;
  // cursor: pointer;
  overflow: hidden;
  float: left;
  border: 1px solid #eee;
  margin-bottom: 20px;
  padding: 10px;
  position: relative;
  &:nth-child(4n) {
    margin-right: 0;
  }

  &:hover {
    background-color: #ebf5fe;
  }

  .card-left {
    height: 150px;
    padding: 10px 10px;
    float: left;
    width: 175px;

    .img {
      height: 120px;
      width: 150px;
      // background-image: url('./../../../../assets/images/project/sdf.png');
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }
  }

  .card-right {
    height: 150px;
    padding: 10px 10px;
    float: left;
    width: calc(100% - 175px);

    .right-icon {
      height: 15px;
      font-size: 16px;
      float: right;

      .form {
        display: none;
        color: #419fe8;
      }

      .delete {
        margin-left: 10px;
        display: none;
        color: #419fe8;
      }
    }

    .right-list {
      height: 30px;
      width: 100%;
      line-height: 30px;
      overflow: hidden;

      .span-one {
        font-size: 16px;
      }

      .span-two {
        font-size: 12px;
        color: #999999;
      }
    }
  }
}

.model-container {
  height: 100%;
  width: 100%;
  min-width: 1350px;
  overflow: hidden;
  padding: 7px 32px;

  .model-head {
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    overflow: hidden;

    .head-left {
      float: left;
    }

    .head-right {
      float: right;
    }
  }

  .model-body {
    height: calc(100% - 70px);
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 8px #ddd;
    // padding: 30px 30px;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
    .body {
      height: calc(100% - 50px);
      width: 100%;
      padding: 20px;
      padding-left: 35px;
    }

    .card {
      @extend %card;
      cursor: pointer;

      .play{
        font-size: 70px;
        position: absolute;
        bottom: 40%;
        left: 40%;
        color: white;
        transition: all .3s;
        pointer-events: none;
      }

      &:hover .play{
        color: #ddd;
      }
    }
  }
}

.modal {
  height: 55px;

  .modal-left {
    line-height: 32px;
  }
}

.modal-text {
  height: 110px;

  .modal-left {
    line-height: 32px;
  }

  .upload {
    height: 100px;
    width: 100px;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    &:hover {
      box-shadow: 0px 0px 5px #666666;
    }

    .top {
      height: 50px;
      font-size: 30px;
      line-height: 60px;
      text-align: center;
      color: #969696;
    }

    .bottom {
      height: 50px;
      text-align: center;
      line-height: 35px;
      color: #969696;
    }
  }
}

::ng-deep .ant-modal-footer {
  // text-align: center;
}
.deletemodle {
  margin-left: 10px;
  // display: none;
  color: #419fe8;
  cursor: pointer;
  &:hover {
    color: #99cff8;
  }
}

// 视频样式
.my-video-dimensions {
  width: 100% !important;
  height: 100% !important;
}
.video-js {
  width: 100% !important;
  height: 100% !important;
}
.videoPage {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  background: url("../../../../../assets/images/project/sdf.png") no-repeat;
  background-size: cover;
  .playIcon {
    width: 20px;
    height: 20px;
    z-index: 2;
    position: absolute;
  }
}
